package com.ohos.connect.devicecloud.mqtt.modular.coap.service;

import com.ohos.connect.devicecloud.mqtt.core.model.dto.CoapToHttpDTO;
import com.ohos.connect.devicecloud.mqtt.core.model.vo.CoapToHttpVO;

public interface CoapService {

    // coap服务调http
    CoapToHttpVO coapToHttpMethod(CoapToHttpDTO coapToHttpDTO);

    // http调coap服务
    CoapToHttpVO httpToCoapMethod(CoapToHttpDTO coapToHttpDTO);

}
